﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain
{
    public class Bom:BaseModel
    {
        /// <summary>
        /// BomId
        /// </summary>
        [Key]
        public int BomId { get; set; }
        /// <summary>
        /// BOM编码
        /// </summary>
        public string BomNode { get; set; }
        /// <summary>
        /// BOM主题
        /// </summary>
        public string Bomtitle {  get; set; }
        /// <summary>
        /// 默认BOM
        /// </summary>
        public string DefaultBom {  get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string Version {  get; set; }
        /// <summary>
        /// 成品类型
        /// </summary>
        public string FinishedType {  get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string FinishedName {  get; set; }
        /// <summary>
        /// 日产量
        /// </summary>
        public int DailyProduction {  get; set; }
        /// <summary>
        /// 预估成本
        /// </summary>
        public int? EstimatedCost {  get; set; }
        /// <summary>
        ///当前库存
        /// </summary>
        public string? CurrentInventory {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes {  get; set; }


    }
}
